admin: selinux-ensure-labeled: new builtin
authorColin Walters <walters@verbum.org>
Thu, 13 Mar 2014 12:14:26 +0000 (08:14 -0400)
committerColin Walters <walters@verbum.org>
Thu, 13 Mar 2014 12:21:45 +0000 (08:21 -0400)
commite11de9357cea643b45a2e5e3f94d33dbd84d9ca3
treec9ff9a8582190452b456f1f6a493a97462113bcc
parent1f7f7382b176921bf44c7030474e59e0dfe25894
admin: selinux-ensure-labeled: new builtin

Code like rpm-ostree generates disk images directly.  In order to
ensure SELinux labeling is correct, it currently has a helper program
that runs over the deployment root, then over the whole disk and to
only set a label if none exist.

In order to make it easier to write installers such as Anaconda
without having them depend on rpm-ostree (or whatever other
build-server side program), pull in the helper code here.
Makefile-ostree.am
src/ostree/ot-admin-builtin-selinux-ensure-labeled.c [new file with mode: 0644]
src/ostree/ot-admin-builtins.h
src/ostree/ot-builtin-admin.c